CoGetMTAUsageInfo - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTMISC_H
#if (PHNT_VERSION >= PHNT_WINDOWS_8)

// private // combase.dll, ordinal 70
/**
 * The CoGetMTAUsageInfo routine allocates a new MTA_USAGE_GLOBALS descriptor with CoTaskMemAlloc: 80 bytes on x64, 40 bytes on x86 in the
 * inspected build. Release the outer allocation with CoTaskMemFree. Embedded counter and flag pointers are
 * borrowed COM global storage; do not free or modify their targets or treat this as a synchronized snapshot.
 * CompletionTimeOut is initialized to 10000 milliseconds. Allocation failure returns NULL. The inspected
 * COMBASE entry is ordinal 70.
 */
_Success_(return != 0)
_Must_inspect_result_
WINBASEAPI
PMTA_USAGE_GLOBALS
WINAPI
CoGetMTAUsageInfo(
    VOID
    );

#endif
#endif

View code on GitHub

NtDoc

No description available.