适用于 Windows 运行时应用的 Win32 和 COM API(系统)
Posted 岬淢箫声
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了适用于 Windows 运行时应用的 Win32 和 COM API(系统)相关的知识,希望对你有一定的参考价值。
支持使用这些系统 API 开发 Windows 运行时应用。
注意
一些 API 仅受 Windows 应用商店应用支持,不受 Windows Phone 应用商店应用支持,反之亦然。特定 API 的具体兼容性详细信息可在其参考主题或相关头文件中找到。有关详细信息,请参阅适用于 Windows 运行时应用的 Win32 和 COM。
COM
BindMoniker
BSTR_UserFree
BSTR_UserFree64
BSTR_UserMarshal
BSTR_UserMarshal64
BSTR_UserSize
BSTR_UserSize64
BSTR_UserUnmarshal
BSTR_UserUnmarshal64
CLSIDFromString
CoCreateFreeThreadedMarshaler
CoCreateGuid
CoCreateInstanceFromApp
CoDisconnectObject
CoFreeUnusedLibraries
CoFreeUnusedLibrariesEx
CoGetApartmentType
CoGetContextToken
CoGetCurrentLogicalThreadId
CoGetInterfaceAndReleaseStream
CoGetMarshalSizeMax
CoGetObject
CoGetObjectContext
CoGetStandardMarshal
CoInitializeEx
CoInitializeSecurity
CoMarshalInterface
CoMarshalInterThreadInterfaceInStream
CoRegisterClassObject
CoReleaseMarshalData
CoResumeClassObjects
CoRevokeClassObject
CoSuspendClassObjects
CoSwitchCallContext
CoTaskMemAlloc
CoTaskMemFree
CoTaskMemRealloc
CoUninitialize
CoUnmarshalInterface
CreateAntiMoniker
CreateBindCtx
CreateClassMoniker
CreateFileMoniker
CreateGenericComposite
CreateILockBytesOnHGlobal
CreateItemMoniker
CreateObjrefMoniker
CreatePointerMoniker
CreateStreamOnHGlobal
DispInvoke
FmtIdToPropStgName
FreePropVariantArray
GetClassFile
GetConvertStg
GetHGlobalFromILockBytes
GetHGlobalFromStream
IActivationFactory
IAgileObject
IBindCtx
IClassFactory
IClientSecurity
IClosable
IConnectionPoint
IConnectionPointContainer
IContextCallback
IDirectWriterLock
IDispatch
IEnumConnectionPoints
IEnumConnections
IEnumGUID
IEnumMoniker
IEnumSTATDATA
IEnumSTATPROPSETSTG
IEnumSTATPROPSTG
IEnumSTATSTG
IEnumString
IEnumUnknown
IEnumVARIANT
IFillLockBytes
IGlobalInterfaceTable
IGlobalOptions
IIDFromString
IInspectable
ILayoutStorage
ILockBytes
IMarshal
IMultiQI
INoMarshal
IPropertyBag2
IPropertySetStorage
IPropertyStorage
IPSFactoryBuffer
IQuickActivate
IRootStorage
IRpcStubBuffer
IRpcChannelBuffer
IsEqualGUID
ISequentialStream
IStorage
IStream
ISurrogate
LPSAFEARRAY_Marshal
LPSAFEARRAY_Size
LPSAFEARRAY_Unmarshal
LPSAFEARRAY_UserFree
LPSAFEARRAY_UserFree64
LPSAFEARRAY_UserMarshal
LPSAFEARRAY_UserMarshal64
LPSAFEARRAY_UserSize
LPSAFEARRAY_UserSize64
LPSAFEARRAY_UserUnmarshal
LPSAFEARRAY_UserUnmarshal64
MkParseDisplayName
MonikerCommonPrefixWith
MonikerRelativePathTo
PropStgNameToFmtId
PropVariantClear
PropVariantCopy
PropVariantInit
ReadClassStg
ReadClassStm
RoActivateInstance
RoGetActivatableClassRegistration
RoGetActivationFactory
RoRegisterActivationFactories
RoRevokeActivationFactories
SafeArrayAccessData
SafeArrayAllocData
SafeArrayAllocDescriptor
SafeArrayAllocDescriptorEx
SafeArrayCopy
SafeArrayCopyData
SafeArrayCreate
SafeArrayCreateEx
SafeArrayCreateVector
SafeArrayCreateVectorEx
SafeArrayDestroy
SafeArrayDestroyData
SafeArrayDestroyDescriptor
SafeArrayGetDim
SafeArrayGetElement
SafeArrayGetElemsize
SafeArrayGetIID
SafeArrayGetLBound
SafeArrayGetRecordInfo
SafeArrayGetUBound
SafeArrayGetVartype
SafeArrayLock
SafeArrayPtrOfIndex
SafeArrayPutElement
SafeArrayRedim
SafeArraySetIID
SafeArraySetRecordInfo
SafeArrayUnaccessData
SafeArrayUnlock
StgCreateDocfile
StgCreateDocfileOnILockBytes
StgCreatePropSetStg
StgCreatePropStg
StgCreateStorageEx
StgGetIFillLockBytesOnFile
StgGetIFillLockBytesOnILockBytes
StgIsStorageFile
StgIsStorageILockBytes
StgOpenAsyncDocfileOnIFillLockBytes
StgOpenPropStg
StgOpenStorage
StgOpenStorageEx
StgOpenStorageOnILockBytes
StgPropertyLengthAsVariant
StgSetTimes
StringFromCLSID
StringFromGUID2
StringFromIID
SysAllocString
SysAllocStringByteLen
SysAllocStringLen
SysFreeString
SysReAllocString
SysReAllocStringLen
SysStringByteLen
SysStringLen
SystemTimeToVariantTime
VarAbs
VarAdd
VarAnd
VarBoolFromCy
VarBoolFromDate
VarBoolFromDec
VarBoolFromDisp
VarBoolFromI1
VarBoolFromI2
VarBoolFromI4
VarBoolFromI8
VarBoolFromR4
VarBoolFromR8
VarBoolFromStr
VarBoolFromUI1
VarBoolFromUI2
VarBoolFromUI4
VarBoolFromUI8
VarBstrCat
VarBstrCmp
VarBstrFromBool
VarBstrFromCy
VarBstrFromDate
VarBstrFromDec
VarBstrFromDisp
VarBstrFromI1
VarBstrFromI2
VarBstrFromI4
VarBstrFromI8
VarBstrFromR4
VarBstrFromR8
VarBstrFromUI1
VarBstrFromUI2
VarBstrFromUI4
VarBstrFromUI8
VarCat
VarCmp
VarCyAbs
VarCyAdd
VarCyCmp
VarCyCmpR8
VarCyFix
VarCyFromBool
VarCyFromDate
VarCyFromDec
VarCyFromDisp
VarCyFromI1
VarCyFromI2
VarCyFromI4
VarCyFromI8
VarCyFromR4
VarCyFromR8
VarCyFromStr
VarCyFromUI1
VarCyFromUI2
VarCyFromUI4
VarCyFromUI8
VarCyInt
VarCyMul
VarCyMulI4
VarCyMulI8
VarCyNeg
VarCyRound
VarCySub
VarDateFromBool
VarDateFromCy
VarDateFromDec
VarDateFromDisp
VarDateFromI1
VarDateFromI2
VarDateFromI4
VarDateFromI8
VarDateFromR4
VarDateFromR8
VarDateFromStr
VarDateFromUdate
VarDateFromUdateEx
VarDateFromUI1
VarDateFromUI2
VarDateFromUI4
VarDateFromUI8
VarDecAbs
VarDecAdd
VarDecCmp
VarDecCmpR8
VarDecDiv
VarDecFix
VarDecFromBool
VarDecFromCy
VarDecFromDate
VarDecFromDisp
VarDecFromI1
VarDecFromI2
VarDecFromI4
VarDecFromI8
VarDecFromR4
VarDecFromR8
VarDecFromStr
VarDecFromUI1
VarDecFromUI2
VarDecFromUI4
VarDecFromUI8
VarDecInt
VarDecMul
VarDecNeg
VarDecRound
VarDecSub
VarDiv
VarEqv
VarFix
VarFormat
VarFormatCurrency
VarFormatDateTime
VarFormatFromTokens
VarFormatNumber
VarFormatPercent
VarI1FromBool
VarI1FromCy
VarI1FromDate
VarI1FromDec
VarI1FromDisp
VarI1FromI2
VarI1FromI4
VarI1FromI8
VarI1FromR4
VarI1FromR8
VarI1FromStr
VarI1FromUI1
VarI1FromUI2
VarI1FromUI4
VarI1FromUI8
VarI2FromBool
VarI2FromCy
VarI2FromDate
VarI2FromDec
VarI2FromDisp
VarI2FromI1
VarI2FromI4
VarI2FromI8
VarI2FromR4
VarI2FromR8
VarI2FromStr
VarI2FromUI1
VarI2FromUI2
VarI2FromUI4
VarI2FromUI8
VarI4FromBool
VarI4FromCy
VarI4FromDate
VarI4FromDec
VarI4FromDisp
VarI4FromI1
VarI4FromI2
VarI4FromI8
VarI4FromR4
VarI4FromR8
VarI4FromStr
VarI4FromUI1
VarI4FromUI2
VarI4FromUI4
VarI4FromUI8
VarI8FromBool
VarI8FromCy
VarI8FromDate
VarI8FromDec
VarI8FromDisp
VarI8FromI1
VarI8FromI2
VarI8FromR4
VarI8FromR8
VarI8FromStr
VarI8FromUI1
VarI8FromUI2
VarI8FromUI4
VarI8FromUI8
VARIANT_UserFree
VARIANT_UserFree64
VARIANT_UserMarshal
VARIANT_UserMarshal64
VARIANT_UserSize
VARIANT_UserSize64
VARIANT_UserUnmarshal
VARIANT_UserUnmarshal64
VariantChangeType
VariantChangeTypeEx
VariantClear
VariantCopy
VariantCopyInd
VariantInit
VariantTimeToSystemTime
VarIdiv
VarImp
VarInt
VarMod
VarMonthName
VarMul
VarNeg
VarNot
VarNumFromParseNum
VarOr
VarParseNumFromStr
VarPow
VarR4CmpR8
VarR4FromBool
VarR4FromCy
VarR4FromDate
VarR4FromDec
VarR4FromDisp
VarR4FromI1
VarR4FromI2
VarR4FromI4
VarR4FromI8
VarR4FromR8
VarR4FromStr
VarR4FromUI1
VarR4FromUI2
VarR4FromUI4
VarR4FromUI8
VarR8FromBool
VarR8FromCy
VarR8FromDate
VarR8FromDec
VarR8FromDisp
VarR8FromI1
VarR8FromI2
VarR8FromI4
VarR8FromI8
VarR8FromR4
VarR8FromStr
VarR8FromUI1
VarR8FromUI2
VarR8FromUI4
VarR8FromUI8
VarR8Pow
VarR8Round
VarRound
VarSub
VarTokenizeFormatString
VarUdateFromDate
VarUI1FromBool
VarUI1FromCy
VarUI1FromDate
VarUI1FromDec
VarUI1FromDisp
VarUI1FromI1
VarUI1FromI2
VarUI1FromI4
VarUI1FromI8
VarUI1FromR4
VarUI1FromR8
VarUI1FromStr
VarUI1FromUI2
VarUI1FromUI4
VarUI1FromUI8
VarUI2FromBool
VarUI2FromCy
VarUI2FromDate
VarUI2FromDec
VarUI2FromDisp
VarUI2FromI1
VarUI2FromI2
VarUI2FromI4
VarUI2FromI8
VarUI2FromR4
VarUI2FromR8
VarUI2FromStr
VarUI2FromUI1
VarUI2FromUI4
VarUI2FromUI8
VarUI4FromBool
VarUI4FromCy
VarUI4FromDate
VarUI4FromDec
VarUI4FromDisp
VarUI4FromI1
VarUI4FromI2
VarUI4FromI4
VarUI4FromI8
VarUI4FromR4
VarUI4FromR8
VarUI4FromStr
VarUI4FromUI1
VarUI4FromUI2
VarUI4FromUI8
VarUI8FromBool
VarUI8FromCy
VarUI8FromDate
VarUI8FromDec
VarUI8FromDisp
VarUI8FromI1
VarUI8FromI2
VarUI8FromI8
VarUI8FromR4
VarUI8FromR8
VarUI8FromStr
VarUI8FromUI1
VarUI8FromUI2
VarUI8FromUI4
VarWeekdayName
VarXor
WriteClassStg
WriteClassStm
压缩
CloseCompressor
CloseDecompressor
Compress
CreateCompressor
CreateDecompressor
Decompress
QueryCompressorInformation
QueryDecompressorInformation
ResetCompressor
ResetDecompressor
SetCompressorInformation
SetDecompressorInformation
DLL
DisableThreadLibraryCalls
DllGetActivationFactory
FreeLibrary
GetProcAddress
LoadPackagedLibrary
信息
GetNativeSystemInfo
IsProcessorFeaturePresent
整数
ByteToChar
ByteToInt8
DWordPtrAdd
DWordPtrMult
DWordPtrSub
Int8Add
Int8Mult
Int8Sub
Int8ToUChar
Int8ToUInt
Int8ToUInt8
Int8ToUIntPtr
Int8ToULong
Int8ToULongLong
Int8ToULongPtr
Int8ToUShort
IntAdd
IntMult
IntPtrAdd
IntPtrMult
IntPtrSub
IntPtrToChar
IntPtrToInt
IntPtrToInt8
IntPtrToLong
IntPtrToLongPtr
IntPtrToShort
IntPtrToUChar
IntPtrToUInt
IntPtrToUInt8
IntPtrToUIntPtr
IntPtrToULong
IntPtrToULongLong
IntPtrToULongPtr
IntPtrToUShort
IntSub
IntToChar
IntToInt8
IntToShort
IntToUChar
IntToUInt
IntToUInt8
IntToULong
IntToULongLong
IntToUShort
LongAdd
LongLongAdd
LongLongMult
LongLongSub
LongLongToIntPtr
LongLongToLongPtr
LongLongToChar
LongLongToInt
LongLongToInt8
LongLongToLong
LongLongToShort
LongLongToUChar
LongLongToUInt
LongLongToUInt8
LongLongToULong
LongLongToULongLong
LongLongToUShort
LongMult
LongPtrAdd
LongPtrMult
LongPtrSub
LongPtrToChar
LongPtrToInt
LongPtrToInt8
LongPtrToIntPtr
LongPtrToLong
LongPtrToShort
LongPtrToUChar
LongPtrToUInt
LongPtrToUInt8
LongPtrToUIntPtr
LongPtrToULong
LongPtrToULongLong
LongPtrToULongPtr
LongPtrToUShort
LongSub
LongToChar
LongToInt
LongToInt8
LongToIntPtr
LongToShort
LongToUChar
LongToUInt
LongToUInt8
LongToUIntPtr
LongToULong
LongToULongLong
LongToULongPtr
LongToUShort
PtrdiffTAdd
PtrdiffTMult
PtrdiffTSub
ShortAdd
ShortMult
ShortSub
ShortToChar
ShortToDWordPtr
ShortToInt8
ShortToUChar
ShortToUInt
ShortToUInt8
ShortToUIntPtr
ShortToULong
ShortToULongLong
ShortToULongPtr
ShortToUShort
SIZETAdd
SIZETMult
SIZETSub
SSIZETAdd
SSIZETMult
SSIZETSub
UInt8Add
UInt8Mult
UInt8Sub
UInt8ToChar
UInt8ToInt8
UIntAdd
UIntMult
UIntPtrAdd
UIntPtrMult
UIntPtrSub
UIntPtrToChar
UIntPtrToInt
UIntPtrToInt8
UIntPtrToInt16
UIntPtrToIntPtr
UIntPtrToLong
UIntPtrToLongLong
UIntPtrToLongPtr
UIntPtrToShort
UIntPtrToUChar
UIntPtrToUInt
UIntPtrToUInt8
UIntPtrToUInt16
UIntPtrToULong
UIntPtrToUShort
UIntSub
UIntToChar
UIntToInt
UIntToIntPtr
UIntToInt8
UIntToLong
UIntToLongPtr
UIntToShort
UIntToUChar
UIntToUInt8
UIntToUShort
ULongAdd
ULongLongAdd
ULongLongMult
ULongLongSub
ULongLongToChar
ULongLongToInt
ULongLongToInt8
ULongLongToLong
ULongLongToLongLong
ULongLongToLongPtr
ULongLongToShort
ULongLongToUChar
ULongLongToUInt
ULongLongToUInt8
ULongLongToUIntPtr
ULongLongToULong
ULongLongToULongPtr
ULongLongToUShort
ULongMult
ULongPtrAdd
ULongPtrMult
ULongPtrSub
ULongPtrToChar
ULongPtrToInt
ULongPtrToInt8
ULongPtrToIntPtr
ULongPtrToLong
ULongPtrToLongLong
ULongPtrToLongPtr
ULongPtrToShort
ULongPtrToUChar
ULongPtrToUInt
ULongPtrToUInt8
ULongPtrToUIntPtr
ULongPtrToULong
ULongPtrToUShort
ULongSub
ULongToChar
ULongToInt
ULongToInt8
ULongToIntPtr
ULongToLong
ULongToLongPtr
ULongToShort
ULongToUChar
ULongToUInt
ULongToUInt8
ULongToUIntPtr
ULongToUShort
UShortAdd
UShortMult
UShortSub
UShortToChar
UShortToInt8
UShortToShort
UShortToUChar
UShortToUInt8
大整数
Int64ShllMod32
Int64ShraMod32
Int64ShrlMod32
MulDiv
Multiply128
MultiplyExtract128
MultiplyHigh
PopulationCount64
ShiftLeft128
ShiftRight128
UnsignedMultiply128
UnsignedMultiplyExtract128
UnsignedMultiplyHigh
加载程序
DelayLoadFailureHook
ResolveDelayLoadsFromDll
ResolveDelayLoadedAPI
内存
CreateFileMappingFromApp
GetProcessHeap
HeapAlloc
HeapFree
HeapReAlloc
HeapSize
MapViewOfFileFromApp
RtlSecureZeroMemory
VirtualQuery
元数据
IMetaDataAssemblyImport
IMetaDataDispenser
IMetaDataDispenserEx
IMetaDataImport
IMetaDataImport2
IMetaDataTables
IMetaDataTables2
IRoMetaDataLocator
IRoSimpleMetaDataBuilder
MetaDataGetDispenser
RoFreeParameterizedTypeExtra
RoGetMetaDataFile
RoGetParameterizedTypeInstanceIID
RoParameterizedTypeExtraGetTypeSignature
RoParseTypeName
RoResolveNamespace
RDP
_IRDPSessionEvents
IRDPSRAPIApplication
IRDPSRAPIApplicationFilter
IRDPSRAPIApplicationList
IRDPSRAPIAttendee
IRDPSRAPIAttendeeDisconnectInfo
IRDPSRAPIAttendeeManager
IRDPSRAPIInvitation
IRDPSRAPIInvitationManager
IRDPSRAPISessionProperties
IRDPSRAPITcpConnectionInfo
IRDPSRAPIViewer
IRDPSRAPIVirtualChannel
IRDPSRAPIVirtualChannelManager
IRDPSRAPIWindow
IRDPSRAPIWindowList
IRDPViewerRenderingSurface
进程
CloseHandle
DecodePointer
DuplicateHandle
EncodePointer
GetCurrentProcess
GetCurrentProcessId
ICoreApplication
ICoreApplicationExit
ICoreApplicationInitialization
ICoreApplicationView
线程和同步
AcquireSRWLockShared
CoDecrementMTAUsage
CoIncrementMTAUsage
ConvertFiberToThread
ConvertThreadToFiberEx
CreateEventExW
CreateFiberEx
CreateMutexExW
CreateSemaphoreExW
DeleteCriticalSection
DeleteFiber
EnterCriticalSection
FlsAlloc
FlsFree
FlsGetValue
FlsSetValue
FlushProcessWriteBuffers
FreeLibraryAndExitThread
GetCurrentFiber
GetCurrentThread
GetCurrentThreadId
GetFiberData
GetTickCount64
IApartmentShutdown
IAsyncAction
IAsyncActionWithProgress
IAsyncInfo
IAsyncOperation
IAsyncOperationWithProgress
时间
EnumDynamicTimeZoneInformation
FileTimeToSystemTime
GetDynamicTimeZoneInformation
GetDynamicTimeZoneInformationEffectiveYears
GetLocalTime
GetSystemTime
GetSystemTimeAsFileTime
GetTimeZoneInformation
GetTimeZoneInformationForYear
SystemTimeToFileTime
SystemTimeToTzSpecificLocalTime
TzSpecificLocalTimeToSystemTime
以上是关于适用于 Windows 运行时应用的 Win32 和 COM API(系统)的主要内容,如果未能解决你的问题,请参考以下文章
适用于 Windows 运行时应用的 Win32 和 COM API(系统)
通过c#UWP应用程序中的Win运行时组件的c ++ dll适用于Arm而不适用于x86 / x64
无法在适用于 Windows 的 Python 3.7 上安装 win32core
适用于 Windows Phone 8.1(无 XAML)的最小应用程序:与桌面应用程序的差异
适用于所有 Win32 程序员的在 Windows Aero Glass(DWM、GDI、GDI+)上绘图的文档和 API 示例