core.sys.windows.objbase

Windows API header module

Translated from MinGW Windows headers

License

struct STGOPTIONS
fn BindMoniker CLSIDFromProgID CLSIDFromString CoAddRefServerProcess CoBuildVersion CoCopyProxy CoCreateFreeThreadedMarshaler CoCreateGuid CoCreateInstance CoCreateInstanceEx CoCreateStandardMalloc CoDisconnectObject CoDosDateTimeToFileTime CoFileTimeNow CoFileTimeToDosDateTime CoFreeAllLibraries CoFreeLibrary CoFreeUnusedLibraries CoGetCallContext CoGetClassObject CoGetCurrentProcess CoGetInstanceFromFile CoGetInstanceFromIStorage CoGetInterfaceAndReleaseStream CoGetMalloc CoGetMarshalSizeMax CoGetObject CoGetPSClsid CoGetStandardMarshal CoGetStdMarshalEx CoGetTreatAsClass CoHasStrongExternalConnections CoImpersonateClient CoInitialize CoInitializeEx CoInitializeSecurity CoIsHandlerConnected CoIsOle1Class CoLoadLibrary CoLockObjectExternal CoMarshalHresult CoMarshalInterface CoMarshalInterThreadInterfaceInStream CoQueryAuthenticationServices CoQueryClientBlanket CoQueryProxyBlanket CoRegisterClassObject CoRegisterMallocSpy CoRegisterMessageFilter CoRegisterPSClsid CoReleaseMarshalData CoReleaseServerProcess CoResumeClassObjects CoRevertToSelf CoRevokeClassObject CoRevokeMallocSpy CoSetProxyBlanket CoSuspendClassObjects CoSwitchCallContext CoTaskMemAlloc CoTaskMemFree CoTaskMemRealloc CoTreatAsClass CoUninitialize CoUnmarshalHresult CoUnmarshalInterface CreateAntiMoniker CreateBindCtx CreateDataAdviseHolder CreateDataCache CreateFileMoniker CreateGenericComposite CreateItemMoniker CreatePointerMoniker DebugCoGetRpcFault DebugCoSetRpcFault DllCanUnloadNow DllGetClassObject GetClassFile GetRunningObjectTable IIDFromString IsEqualGUID MkParseDisplayName MonikerCommonPrefixWith MonikerRelativePathTo ProgIDFromCLSID StgCreateDocfile StgCreateDocfileOnILockBytes StgCreateStorageEx StgIsStorageFile StgIsStorageILockBytes StgOpenStorage StgOpenStorageEx StgOpenStorageOnILockBytes StgSetTimes StringFromCLSID StringFromGUID2 StringFromIID

Types 9

enumSTGFMT
STGFMT_STORAGE = 0
STGFMT_FILE = 3
STGFMT_ANY = 4
STGFMT_DOCFILE = 5
Fields
USHORT usVersion
USHORT reserved
ULONG ulSectorSize
const(WCHAR) * pwcsTemplateFile
enumREGCLS
REGCLS_SINGLEUSE = 0
REGCLS_MULTIPLEUSE = 1
REGCLS_MULTI_SEPARATE = 2
aliasIsEqualIID = IsEqualGUID
aliasIsEqualCLSID = IsEqualGUID
enumCOINIT
COINIT_APARTMENTTHREADED = 2
COINIT_MULTITHREADED = 0
COINIT_DISABLE_OLE1DDE = 4
COINIT_SPEED_OVER_MEMORY = 8
SMEXF_SERVER = 1
SMEXF_HANDLER
aliasLPFNCANUNLOADNOW = HRESULT function()

Functions 98

fnBOOL IsEqualGUID( REFGUID rguid1, REFGUID rguid2 ) extern(Windows) nothrow
fnDWORD CoBuildVersion() extern(Windows) nothrow
fnHRESULT CoInitialize(PVOID) extern(Windows) nothrow
fnHRESULT CoInitializeEx(LPVOID, DWORD) extern(Windows) nothrow
fnvoid CoUninitialize() extern(Windows) nothrow
fnHRESULT CoGetMalloc(DWORD, LPMALLOC *) extern(Windows) nothrow
fnDWORD CoGetCurrentProcess() extern(Windows) nothrow
fnHRESULT CoRegisterMallocSpy(LPMALLOCSPY) extern(Windows) nothrow
fnHRESULT CoRevokeMallocSpy() extern(Windows) nothrow
fnHRESULT CoCreateStandardMalloc(DWORD, IMalloc *) extern(Windows) nothrow
fnULONG DebugCoGetRpcFault() extern(Windows) nothrow
fnvoid DebugCoSetRpcFault(ULONG) extern(Windows) nothrow
fnHRESULT CoGetClassObject(REFCLSID, DWORD, COSERVERINFO *, REFIID, PVOID *) extern(Windows) nothrow
fnHRESULT CoRevokeClassObject(DWORD) extern(Windows) nothrow
fnHRESULT CoGetMarshalSizeMax(ULONG *, REFIID, LPUNKNOWN, DWORD, PVOID, DWORD) extern(Windows) nothrow
fnHRESULT CoUnmarshalInterface(LPSTREAM, REFIID, PVOID *) extern(Windows) nothrow
fnHRESULT CoMarshalHresult(LPSTREAM, HRESULT) extern(Windows) nothrow
fnHRESULT CoUnmarshalHresult(LPSTREAM, HRESULT *) extern(Windows) nothrow
fnHRESULT CoReleaseMarshalData(LPSTREAM) extern(Windows) nothrow
fnHRESULT CoDisconnectObject(LPUNKNOWN, DWORD) extern(Windows) nothrow
fnHRESULT CoLockObjectExternal(LPUNKNOWN, BOOL, BOOL) extern(Windows) nothrow
fnHRESULT CoGetStdMarshalEx(LPUNKNOWN, DWORD, LPUNKNOWN *) extern(Windows) nothrow
fnBOOL CoIsHandlerConnected(LPUNKNOWN) extern(Windows) nothrow
fnBOOL CoHasStrongExternalConnections(LPUNKNOWN) extern(Windows) nothrow
fnHINSTANCE CoLoadLibrary(LPOLESTR, BOOL) extern(Windows) nothrow
fnvoid CoFreeLibrary(HINSTANCE) extern(Windows) nothrow
fnvoid CoFreeAllLibraries() extern(Windows) nothrow
fnvoid CoFreeUnusedLibraries() extern(Windows) nothrow
fnHRESULT CoCreateInstance(REFCLSID, LPUNKNOWN, DWORD, REFIID, PVOID *) extern(Windows) nothrow
fnHRESULT StringFromCLSID(REFCLSID, LPOLESTR *) extern(Windows) nothrow
fnHRESULT CLSIDFromString(LPOLESTR, LPCLSID) extern(Windows) nothrow
fnHRESULT StringFromIID(REFIID, LPOLESTR *) extern(Windows) nothrow
fnHRESULT IIDFromString(LPOLESTR, LPIID) extern(Windows) nothrow
fnBOOL CoIsOle1Class(REFCLSID) extern(Windows) nothrow
fnHRESULT ProgIDFromCLSID(REFCLSID, LPOLESTR *) extern(Windows) nothrow
fnHRESULT CLSIDFromProgID(LPCOLESTR, LPCLSID) extern(Windows) nothrow
fnint StringFromGUID2(REFGUID, LPOLESTR, int) extern(Windows) nothrow
fnHRESULT CoCreateGuid(GUID *) extern(Windows) nothrow
fnBOOL CoFileTimeToDosDateTime(FILETIME *, LPWORD, LPWORD) extern(Windows) nothrow
fnBOOL CoDosDateTimeToFileTime(WORD, WORD, FILETIME *) extern(Windows) nothrow
fnHRESULT CoFileTimeNow(FILETIME *) extern(Windows) nothrow
fnHRESULT CoGetTreatAsClass(REFCLSID, LPCLSID) extern(Windows) nothrow
fnHRESULT CoTreatAsClass(REFCLSID, REFCLSID) extern(Windows) nothrow
fnHRESULT DllGetClassObject(REFCLSID, REFIID, PVOID *) extern(Windows) nothrow
fnHRESULT DllCanUnloadNow() extern(Windows) nothrow
fnPVOID CoTaskMemAlloc(SIZE_T) extern(Windows) nothrow
fnPVOID CoTaskMemRealloc(PVOID, SIZE_T) extern(Windows) nothrow
fnvoid CoTaskMemFree(PVOID) extern(Windows) nothrow
fnHRESULT CreateDataCache(LPUNKNOWN, REFCLSID, REFIID, PVOID *) extern(Windows) nothrow
fnHRESULT StgCreateDocfile(const(OLECHAR) *, DWORD, DWORD, IStorage *) extern(Windows) nothrow
fnHRESULT StgOpenStorage(const(OLECHAR) *, IStorage, DWORD, SNB, DWORD, IStorage *) extern(Windows) nothrow
fnHRESULT StgIsStorageFile(const(OLECHAR) *) extern(Windows) nothrow
fnHRESULT StgIsStorageILockBytes(ILockBytes) extern(Windows) nothrow
fnHRESULT StgSetTimes(OLECHAR *, FILETIME *, FILETIME *, FILETIME *) extern(Windows) nothrow
fnHRESULT StgCreateStorageEx(const(WCHAR) *, DWORD, DWORD, DWORD, STGOPTIONS *, void *, REFIID, void * *) extern(Windows) nothrow
fnHRESULT StgOpenStorageEx(const(WCHAR) *, DWORD, DWORD, DWORD, STGOPTIONS *, void *, REFIID, void * *) extern(Windows) nothrow
fnHRESULT BindMoniker(LPMONIKER, DWORD, REFIID, PVOID *) extern(Windows) nothrow
fnHRESULT CoGetObject(LPCWSTR, BIND_OPTS *, REFIID, void * *) extern(Windows) nothrow
fnHRESULT MkParseDisplayName(LPBC, LPCOLESTR, ULONG *, LPMONIKER *) extern(Windows) nothrow
fnHRESULT CreateBindCtx(DWORD, LPBC *) extern(Windows) nothrow
fnHRESULT GetClassFile(LPCOLESTR, CLSID *) extern(Windows) nothrow
fnHRESULT CreateFileMoniker(LPCOLESTR, LPMONIKER *) extern(Windows) nothrow
fnHRESULT CreateItemMoniker(LPCOLESTR, LPCOLESTR, LPMONIKER *) extern(Windows) nothrow
fnHRESULT CreateAntiMoniker(LPMONIKER *) extern(Windows) nothrow
fnHRESULT CreatePointerMoniker(LPUNKNOWN, LPMONIKER *) extern(Windows) nothrow
fnHRESULT CoInitializeSecurity(PSECURITY_DESCRIPTOR, LONG, SOLE_AUTHENTICATION_SERVICE *, void *, DWORD, DWORD, void *, DWORD, void *) extern(Windows) nothrow
fnHRESULT CoGetCallContext(REFIID, void * *) extern(Windows) nothrow
fnHRESULT CoQueryProxyBlanket(IUnknown *, DWORD *, DWORD *, OLECHAR * *, DWORD *, DWORD *, RPC_AUTH_IDENTITY_HANDLE *, DWORD *) extern(Windows) nothrow
fnHRESULT CoCopyProxy(IUnknown *, IUnknown * *) extern(Windows) nothrow
fnHRESULT CoQueryClientBlanket(DWORD *, DWORD *, OLECHAR * *, DWORD *, DWORD *, RPC_AUTHZ_HANDLE *, DWORD *) extern(Windows) nothrow
fnHRESULT CoImpersonateClient() extern(Windows) nothrow
fnHRESULT CoRevertToSelf() extern(Windows) nothrow
fnHRESULT CoSwitchCallContext(IUnknown *, IUnknown * *) extern(Windows) nothrow
fnULONG CoAddRefServerProcess() extern(Windows) nothrow
fnULONG CoReleaseServerProcess() extern(Windows) nothrow
fnHRESULT CoResumeClassObjects() extern(Windows) nothrow
fnHRESULT CoSuspendClassObjects() extern(Windows) nothrow
fnHRESULT CoGetPSClsid(REFIID, CLSID *) extern(Windows) nothrow
fnHRESULT CoRegisterPSClsid(REFIID, REFCLSID) extern(Windows) nothrow

Variables 31

enumvarCLSCTX_ALL = CLSCTX.CLSCTX_INPROC_SERVER | CLSCTX.CLSCTX_INPROC_HANDLER | CLSCTX.CLSCTX_LOCAL_SERVER
enumvarCLSCTX_INPROC = CLSCTX.CLSCTX_INPROC_SERVER | CLSCTX.CLSCTX_INPROC_HANDLER
enumvarCLSCTX_SERVER = CLSCTX.CLSCTX_INPROC_SERVER | CLSCTX.CLSCTX_LOCAL_SERVER | CLSCTX.CLSCTX_REMOTE_SERVER
enumvarMARSHALINTERFACE_MIN = 500
enumvarCWCSTORAGENAME = 32
enumvarSTGM_DIRECT = 0
enumvarSTGM_TRANSACTED = 0x10000L
enumvarSTGM_SIMPLE = 0x8000000L
enumvarSTGM_READ = 0
enumvarSTGM_WRITE = 1
enumvarSTGM_READWRITE = 2
enumvarSTGM_SHARE_DENY_NONE = 0x40
enumvarSTGM_SHARE_DENY_READ = 0x30
enumvarSTGM_SHARE_DENY_WRITE = 0x20
enumvarSTGM_SHARE_EXCLUSIVE = 0x10
enumvarSTGM_PRIORITY = 0x40000L
enumvarSTGM_DELETEONRELEASE = 0x4000000
enumvarSTGM_NOSCRATCH = 0x100000
enumvarSTGM_CREATE = 0x1000
enumvarSTGM_CONVERT = 0x20000
enumvarSTGM_NOSNAPSHOT = 0x200000
enumvarSTGM_FAILIFTHERE = 0
enumvarASYNC_MODE_COMPATIBILITY = 1
enumvarASYNC_MODE_DEFAULT = 0
enumvarSTGTY_REPEAT = 256
enumvarSTG_TOEND = 0xFFFFFFFF
enumvarSTG_LAYOUT_SEQUENTIAL = 0
enumvarSTG_LAYOUT_INTERLEAVED = 1
enumvarCOM_RIGHTS_EXECUTE = 1
enumvarCOM_RIGHTS_SAFE_FOR_SCRIPTING = 2
enumvarSTGOPTIONS_VERSION = 2