Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

39 lines
964 B

/*****************************************************************************\
* MODULE: gencab.h
*
* This is the main header for the CAB generation module.
*
* Copyright (C) 1996-1997 Microsoft Corporation
* Copyright (C) 1996-1997 Hewlett Packard
*
* History:
* 22-Nov-1996 <chriswil> Created.
*
\*****************************************************************************/
// Constants.
//
#define MAX_CAB_BUFFER 1024
#define MIN_CAB_BUFFER 64
// Function Macro mappings.
//
#define EXEC_PROCESS(lpszCmd, psi, ppi) \
CreateProcess(NULL, lpszCmd, NULL, NULL, FALSE, 0, NULL, NULL, psi, ppi)
// Critical-Section Function Mappings.
//
#define InitCABCrit() InitializeCriticalSection(&g_csGenCab)
#define FreeCABCrit() DeleteCriticalSection(&g_csGenCab)
// Entry-point to the whole process.
//
DWORD GenerateCAB(
LPCTSTR lpszFriendlyName,
LPCTSTR lpszPortName,
DWORD dwCliInfo,
LPTSTR lpszOutputName,
BOOL bSecure);