Harlequin RIP SDK

PC command line entry point. More...

#include "hhrsdk.h"
#include "skintest.h"
#include "hqwindows.h"
#include "argusage.h"
#include "inputserrors.h"
#include <stdio.h>
#include <io.h>
#include <fcntl.h>
#include <direct.h>
#include <stdlib.h>
#include <intrin.h>
#include <crtdbg.h>

Data Structures

struct  parse_args_t
 

Functions

static void monitorCallback (uint32 bufLen, const uint8 *u8buf)
 Monitor information callback. More...
 
static HqBool extendLibrarySearchPath (char *pszPath)
 
static void le_exception_handler (char *mess)
 
static uint8wchar_to_utf8 (WCHAR *arg, HqBool keep)
 
static HqBool args_used (void *data, int n)
 Callback to check that we have enough arguments left.
 
static uint8arg_to_utf8 (void *data, int index, HqBool keep)
 Callback to convert an indexed argument to UTF-8.
 
static uint8program_name_from_argv (WCHAR **argv)
 Function to get program leaf name in UTF-8 from initial argv.
 
static uint8program_name (void *data)
 Callback to get program leaf name in UTF-8.
 
static uint8program_name_from_opaque_argv (void *data)
 Function to get program leaf name in UTF-8 from initial argv, through opaque pointer for platform abstraction.
 
static void PlatformOptionInitialize (HqBool sdkinit)
 
static int32 PlatformOption (int32 option, HqBool sdkready, HqBool(*args_used)(void *data, int n), uint8 *(*arg_to_utf8)(void *data, int index, HqBool keep), uint8 *(*program_name)(void *data), void *data)
 
static HqBool AddFilesToInputQ (uint8 *pattern, const uint8 *configName, uint8 *errbuf)
 
static int32 ParseArguments (int argc, WCHAR **argv, HqBool sdkready)
 
static void do_cpuid (uint32 *info, uint32 id)
 
static HqBool cpuid_fail (char *reason)
 
static HqBool verify_system_requirements (void)
 
int __cdecl wmain (int argc, WCHAR *argv[])
 The main entry point to the Windows version of the clrip command-line RIP application. More...
 
static HqBool MountDriveType (char *pRootPath)
 
HqBool PTNextDrive (int32 index, uint8 *pDrivename)
 Called by MountAllDrives() to get the next (first if index == 0) drive that is on the machine. More...
 

Detailed Description

PC command line entry point.

Main program for the example code of Harlequin RIP SDK

Copyright (C) 2024 Global Graphics Software Ltd. All Rights Reserved.

This example is provided on an "as is" basis and without warranty of any kind. Global Graphics Software Ltd. does not warrant or make any representations regarding the use or results of use of this example.