8#define OLE_LPCSTR LPCSTR
11#define OLE_LPCSTR LPSTR
19#define OLEVERB_PRIMARY 0
BOOL Delete(LPCTSTR ServiceName)
static INT Execute(LPTSTR Full, LPTSTR First, LPTSTR Rest, PARSED_COMMAND *Cmd)
static BYTE * GetData(BYTE *pData, ULONG *pLength)
static LPINTERNAL_BSTR Get(const BSTR lpszString)
_Must_inspect_result_ _In_ KTMOBJECT_TYPE QueryType
struct _OLESTREAM * LPOLESTREAM
OLESERVERDOCVTBL * LPOLESERVERDOCVTBL
OLESTATUS WINAPI OleGetLinkUpdateOptions(LPOLEOBJECT, OLEOPT_UPDATE *)
OLESTATUS WINAPI OleQueryOpen(LPOLEOBJECT)
struct _OLEOBJECT * LPOLEOBJECT
OLESTATUS WINAPI OleCreateFromTemplate(LPCSTR, LPOLECLIENT, LPCSTR, LHCLIENTDOC, LPCSTR, LPOLEOBJECT *, OLEOPT_RENDER, OLECLIPFORMAT)
OLESTATUS WINAPI OleSetData(LPOLEOBJECT, OLECLIPFORMAT, HANDLE)
OLESTATUS WINAPI OleActivate(LPOLEOBJECT, UINT, BOOL, BOOL, HWND, LPCRECT)
OLESTATUS WINAPI OleSetBounds(LPOLEOBJECT, LPCRECT)
struct _OLESERVERDOCVTBL OLESERVERDOCVTBL
OLESTATUS WINAPI OleRevokeObject(LPOLECLIENT)
OLESTATUS WINAPI OleReconnect(LPOLEOBJECT)
OLESTATUS WINAPI OleRenameClientDoc(LHCLIENTDOC, LPCSTR)
OLESTATUS WINAPI OleCreateFromClip(LPCSTR, LPOLECLIENT, LHCLIENTDOC, LPCSTR, LPOLEOBJECT *, OLEOPT_RENDER, OLECLIPFORMAT)
OLESTATUS WINAPI OleRevertServerDoc(LHSERVERDOC)
struct _OLESERVERDOC OLESERVERDOC
OLESTATUS WINAPI OleCopyToClipboard(LPOLEOBJECT)
OLESTATUS WINAPI OleQueryOutOfDate(LPOLEOBJECT)
OLESTATUS WINAPI OleLockServer(LPOLEOBJECT, LHSERVER *)
OLESTREAMVTBL * LPOLESTREAMVTBL
OLECLIPFORMAT WINAPI OleEnumFormats(LPOLEOBJECT, OLECLIPFORMAT)
OLESTATUS WINAPI OleRevertClientDoc(LHCLIENTDOC)
OLESTATUS WINAPI OleCreate(LPCSTR, LPOLECLIENT, LPCSTR, LHCLIENTDOC, LPCSTR, LPOLEOBJECT *, OLEOPT_RENDER, OLECLIPFORMAT)
struct _OLECLIENT OLECLIENT
struct _OLECLIENT * LPOLECLIENT
OLESTATUS WINAPI OleQueryReleaseStatus(LPOLEOBJECT)
struct _OLESTREAM * LPOLESTREAM
OLESTATUS WINAPI OleRevokeClientDoc(LHCLIENTDOC)
OLESTATUS WINAPI OleRelease(LPOLEOBJECT)
struct _OLESERVERVTBL OLESERVERVTBL
OLETARGETDEVICE * LPOLETARGETDEVICE
OLESTATUS WINAPI OleCreateLinkFromFile(LPCSTR, LPOLECLIENT, LPCSTR, LPCSTR, LPCSTR, LHCLIENTDOC, LPCSTR, LPOLEOBJECT *, OLEOPT_RENDER, OLECLIPFORMAT)
struct _OLESTREAMVTBL OLESTREAMVTBL
OLESTATUS WINAPI OleRegisterClientDoc(LPCSTR, LPCSTR, LONG, LHCLIENTDOC *)
DWORD WINAPI OleQueryClientVersion(void)
OLESTATUS WINAPI OleEnumObjects(LHCLIENTDOC, LPOLEOBJECT *)
OLESTATUS WINAPI OleRequestData(LPOLEOBJECT, OLECLIPFORMAT)
OLESTATUS WINAPI OleRevokeServerDoc(LHSERVERDOC)
OLESTATUS WINAPI OleSetLinkUpdateOptions(LPOLEOBJECT, OLEOPT_UPDATE)
OLE_RELEASE_METHOD WINAPI OleQueryReleaseMethod(LPOLEOBJECT)
OLESTATUS WINAPI OleClone(LPOLEOBJECT, LPOLECLIENT, LHCLIENTDOC, LPCSTR, LPOLEOBJECT *)
OLESTATUS WINAPI OleDelete(LPOLEOBJECT)
struct _OLESERVER * LPOLESERVER
OLEOBJECTVTBL * LPOLEOBJECTVTBL
struct _OLETARGETDEVICE OLETARGETDEVICE
OLESTATUS WINAPI OleLoadFromStream(LPOLESTREAM, LPCSTR, LPOLECLIENT, LHCLIENTDOC, LPCSTR, LPOLEOBJECT *)
OLESTATUS WINAPI OleQuerySize(LPOLEOBJECT, DWORD *)
struct _OLEOBJECTVTBL OLEOBJECTVTBL
struct _OLESERVERDOC * LPOLESERVERDOC
OLESTATUS WINAPI OleCopyFromLink(LPOLEOBJECT, LPCSTR, LPOLECLIENT, LHCLIENTDOC, LPCSTR, LPOLEOBJECT *)
struct _OLESERVER OLESERVER
struct _OLECLIENTVTBL OLECLIENTVTBL
OLESTATUS WINAPI OleQueryBounds(LPOLEOBJECT, RECT *)
OLESTATUS WINAPI OleObjectConvert(LPOLEOBJECT, LPCSTR, LPOLECLIENT, LHCLIENTDOC, LPCSTR, LPOLEOBJECT *)
OLESTATUS WINAPI OleExecute(LPOLEOBJECT, HGLOBAL, UINT)
@ OLE_ERROR_ADVISE_RENAME
@ OLE_ERROR_SETDATA_FORMAT
@ OLE_ERROR_CANT_UPDATE_CLIENT
@ OLE_ERROR_REQUEST_NATIVE
@ OLE_ERROR_SERVER_BLOCKED
@ OLE_ERROR_ALREADY_REGISTERED
@ OLE_ERROR_STATIC_FROM_OTHER_OS
@ OLE_ERROR_ADVISE_NATIVE
OLESTATUS WINAPI OleUnblockServer(LHSERVER, BOOL *)
DWORD WINAPI OleQueryServerVersion(void)
OLESTATUS WINAPI OleCreateLinkFromClip(LPCSTR, LPOLECLIENT, LHCLIENTDOC, LPCSTR, LPOLEOBJECT *, OLEOPT_RENDER, OLECLIPFORMAT)
OLESTATUS WINAPI OleSetTargetDevice(LPOLEOBJECT, HGLOBAL)
OLESTATUS WINAPI OleSavedServerDoc(LHSERVERDOC)
OLESTATUS WINAPI OleDraw(LPOLEOBJECT, HDC, LPCRECT, LPCRECT, HDC)
BOOL WINAPI OleIsDcMeta(HDC)
OLESTATUS WINAPI OleGetData(LPOLEOBJECT, OLECLIPFORMAT, HANDLE *)
OLECLIENTVTBL * LPOLECLIENTVTBL
OLESTATUS WINAPI OleRevokeServer(LHSERVER)
OLESTATUS WINAPI OleQueryReleaseError(LPOLEOBJECT)
OLESTATUS WINAPI OleEqual(LPOLEOBJECT, LPOLEOBJECT)
OLESTATUS WINAPI OleSaveToStream(LPOLEOBJECT, LPOLESTREAM)
OLESTATUS WINAPI OleQueryName(LPOLEOBJECT, LPSTR, UINT *)
OLESTATUS WINAPI OleRename(LPOLEOBJECT, LPCSTR)
OLESTATUS WINAPI OleRegisterServerDoc(LHSERVER, LPCSTR, LPOLESERVERDOC, LHSERVERDOC *)
OLESTATUS WINAPI OleRenameServerDoc(LHSERVERDOC, LPCSTR)
OLESTATUS WINAPI OleCreateInvisible(LPCSTR, LPOLECLIENT, LPCSTR, LHCLIENTDOC, LPCSTR, LPOLEOBJECT *, OLEOPT_RENDER, OLECLIPFORMAT, BOOL)
OLESERVERVTBL * LPOLESERVERVTBL
OLESTATUS WINAPI OleRegisterServer(LPCSTR, LPOLESERVER, LHSERVER *, HINSTANCE, OLE_SERVER_USE)
OLESTATUS WINAPI OleQueryType(LPOLEOBJECT, LONG *)
OLESTATUS WINAPI OleSetHostNames(LPOLEOBJECT, LPCSTR, LPCSTR)
struct _OLEOBJECT OLEOBJECT
OLESTATUS WINAPI OleSavedClientDoc(LHCLIENTDOC)
OLESTATUS WINAPI OleCreateFromFile(LPCSTR, LPOLECLIENT, LPCSTR, LPCSTR, LHCLIENTDOC, LPCSTR, LPOLEOBJECT *, OLEOPT_RENDER, OLECLIPFORMAT)
OLESTATUS WINAPI OleBlockServer(LHSERVER)
OLESTATUS WINAPI OleClose(LPOLEOBJECT)
OLESTATUS WINAPI OleUpdate(LPOLEOBJECT)
OLESTATUS WINAPI OleQueryLinkFromClip(LPCSTR, OLEOPT_RENDER, OLECLIPFORMAT)
WINAPI void * OleQueryProtocol(LPOLEOBJECT, LPCSTR)
OLESTATUS WINAPI OleUnlockServer(LHSERVER)
OLESTATUS WINAPI OleSetColorScheme(LPOLEOBJECT, const LOGPALETTE *)
OLESTATUS WINAPI OleQueryCreateFromClip(LPCSTR, OLEOPT_RENDER, OLECLIPFORMAT)
struct _OLESTREAM OLESTREAM
int(CALLBACK *CallBack)(LPOLECLIENT
OLESTATUS(CALLBACK *ObjectLong)(LPOLEOBJECT
LPOLEOBJECT LPOLEOBJECT LPOLEOBJECT
OLESTATUS(CALLBACK *QueryName)(LPOLEOBJECT
OLESTATUS(CALLBACK *SetBounds)(LPOLEOBJECT
OLESTATUS(CALLBACK *Clone)(LPOLEOBJECT
UINT LONG RECT DWORD * OLESTATUS(CALLBACK *QueryOpen)(LPOLEOBJECT)
OLESTATUS(CALLBACK *Reconnect)(LPOLEOBJECT)
OLESTATUS(CALLBACK *SetColorScheme)(LPOLEOBJECT
LPOLEOBJECT OLEOPT_UPDATE OLEOPT_UPDATE
OLE_RELEASE_METHOD(CALLBACK *QueryReleaseMethod)(LPOLEOBJECT)
OLESTATUS(CALLBACK *Rename)(LPOLEOBJECT
UINT * OLESTATUS(CALLBACK *QueryType)(LPOLEOBJECT
struct _OLESTREAM LPOLECLIENT
OLESTATUS(CALLBACK *CopyToClipboard)(LPOLEOBJECT)
OLESTATUS(CALLBACK *GetData)(LPOLEOBJECT
OLESTATUS(CALLBACK *QueryOutOfDate)(LPOLEOBJECT)
void *CALLBACK * QueryProtocol(LPOLEOBJECT, OLE_LPCSTR)
OLESTATUS(CALLBACK *ObjectConvert)(LPOLEOBJECT
OLESTATUS(CALLBACK *Update)(LPOLEOBJECT)
OLESTATUS(CALLBACK *DoVerb)(LPOLEOBJECT
OLE_CONST LOGPALETTE * OLESTATUS(CALLBACK *Delete)(LPOLEOBJECT)
OLESTATUS(CALLBACK *QueryReleaseError)(LPOLEOBJECT)
OLESTATUS(CALLBACK *Release)(LPOLEOBJECT)
OLESTATUS(CALLBACK *Close)(LPOLEOBJECT)
UINT LONG * OLESTATUS(CALLBACK *QueryBounds)(LPOLEOBJECT
OLESTATUS(CALLBACK *RequestData)(LPOLEOBJECT
OLESTATUS(CALLBACK *QueryReleaseStatus)(LPOLEOBJECT)
UINT LONG RECT * OLESTATUS(CALLBACK *QuerySize)(LPOLEOBJECT
struct _OLESTREAM LHCLIENTDOC
LPOLEOBJECT * OLESTATUS(CALLBACK *GetLinkUpdateOptions)(LPOLEOBJECT
OLE_CONST RECT OLECLIPFORMAT
OLESTATUS(CALLBACK *Release)(LPOLESERVERDOC)
OLESTATUS(CALLBACK *SetColorScheme)(LPOLESERVERDOC
OLESTATUS(CALLBACK *SetDocDimensions)(LPOLESERVERDOC
OLE_CONST LOGPALETTE HGLOBAL
OLESTATUS(CALLBACK *Save)(LPOLESERVERDOC)
OLESTATUS(CALLBACK *Close)(LPOLESERVERDOC)
OLE_CONST RECT LPOLEOBJECT LPOLECLIENT
LPOLESERVERDOCVTBL lpvtbl
LPOLESERVERDOC LPOLESERVERDOC OLE_LPCSTR
OLESTATUS(CALLBACK *Release)(LPOLESERVER)
LPOLESERVERDOC LPOLESERVERDOC LPOLESERVERDOC LPOLESERVERDOC * OLESTATUS(CALLBACK *Exit)(LPOLESERVER)
LPOLESERVERDOC OLE_LPCSTR
USHORT otdEnvironmentSize
USHORT otdDriverNameOffset
USHORT otdExtDevmodeOffset
USHORT otdEnvironmentOffset
USHORT otdDeviceNameOffset
static int Save(const char **args)