Поделиться через


API Sets for Universal Windows Platform (UWP) apps

API Sets available in Windows 10.

API Sets available to Windows 10 apps

A Universal Windows Platform (UWP) app, or Windows Runtime Component, written in C++/CX has access to the Win32 APIs that are part of the Universal Windows Platform (UWP). These Win32 APIs are implemented by all Windows 10 device families. For convenience, the "umbrella" library WindowsApp.lib is provided in the Microsoft Windows Software Development Kit (SDK) and it provides the exports for the API surface defined in API Sets plus additional APIs that are contained in well-layered system DLLs. This topic lists all the APIs in WindowsApp.lib. Link your app with WindowsApp.lib to access these APIs. Linking to WindowsApp.lib will add to your app dependencies on dlls that are present on all Windows 10 device families.

A classic Desktop app has access to even more Win32 APIs, and these are also accessible by linking to WindowsApp.lib.

Also see Dlls for UWP apps, and Win32 and COM for Windows Runtime apps and UWP apps.

New API Set—No Library

The API Set listed in this table is the DLL name to use for delay load. Note that this API Set is new in Windows 10, and it is not currently packaged as part of a library.

API Set API encompassed by API Set
api-ms-win-rtcore-ntuser-wmpointer-l1-1-0.dll

EnableMouseInPointer

GetCurrentInputMessageSource

GetPointerCursorId

GetPointerDevice

GetPointerDeviceProperties

GetPointerDeviceRects

GetPointerDevices

GetPointerFrameInfo

GetPointerFrameInfoHistory

GetPointerFramePenInfo

GetPointerFrameTouchInfo

GetPointerFrameTouchInfoHistory

GetPointerInfo

GetPointerInfoHistory

GetPointerInputTransform

GetPointerPenInfo

GetPointerPenInfoHistory

GetPointerTouchInfo

GetPointerTouchInfoHistory

GetPointerType

GetRawPointerDeviceData

InitializeTouchInjection

InjectTouchInput

IsMouseInPointerEnabled

 

The API Sets listed below are the DLL names to use for delay load.

From api-ms-win-core-com-l1-1-1 API Set

CLSIDFromString

CoCreateFreeThreadedMarshaler

CoCreateGuid

CoCreateInstanceFromApp

CoDisconnectObject

CoFreeUnusedLibraries

CoFreeUnusedLibrariesEx

CoGetApartmentType

CoGetContextToken

CoGetCurrentLogicalThreadId

CoGetInterfaceAndReleaseStream

CoGetMarshalSizeMax

CoGetObjectContext

CoGetStandardMarshal

CoInitializeEx

CoInitializeSecurity

CoMarshalInterface

CoMarshalInterThreadInterfaceInStream

CoRegisterClassObject

CoReleaseMarshalData

CoResumeClassObjects

CoRevokeClassObject

CoSuspendClassObjects

CoSwitchCallContext

CoTaskMemAlloc

CoTaskMemFree

CoTaskMemRealloc

CoUninitialize

CoUnmarshalInterface

CreateStreamOnHGlobal

FreePropVariantArray

GetHGlobalFromStream

IIDFromString

PropVariantClear

PropVariantCopy

RoGetAgileReference

StringFromCLSID

StringFromGUID2

StringFromIID

From api-ms-win-core-com-l2-1-1 API Set

CreateILockBytesOnHGlobal

FmtIdToPropStgName

GetConvertStg

GetHGlobalFromILockBytes

PropStgNameToFmtId

ReadClassStg

ReadClassStm

StgCreateDocfile

StgCreateDocfileOnILockBytes

StgCreatePropSetStg

StgCreatePropStg

StgCreateStorageEx

StgIsStorageFile

StgIsStorageILockBytes

StgOpenPropStg

StgOpenStorage

StgOpenStorageEx

StgOpenStorageOnILockBytes

StgSetTimes

WriteClassStg

WriteClassStm

From api-ms-win-core-com-midlproxystub-l1-1-0 API Set

CStdAsyncStubBuffer_AddRef

CStdAsyncStubBuffer_Connect

CStdAsyncStubBuffer_Disconnect

CStdAsyncStubBuffer_Invoke

CStdAsyncStubBuffer_QueryInterface

CStdAsyncStubBuffer_Release

CStdAsyncStubBuffer2_Connect

CStdAsyncStubBuffer2_Disconnect

CStdAsyncStubBuffer2_Release

CStdStubBuffer2_Connect

CStdStubBuffer2_CountRefs

CStdStubBuffer2_Disconnect

CStdStubBuffer2_QueryInterface

NdrProxyForwardingFunction10

NdrProxyForwardingFunction11

NdrProxyForwardingFunction12

NdrProxyForwardingFunction13

NdrProxyForwardingFunction14

NdrProxyForwardingFunction15

NdrProxyForwardingFunction16

NdrProxyForwardingFunction17

NdrProxyForwardingFunction18

NdrProxyForwardingFunction19

NdrProxyForwardingFunction20

NdrProxyForwardingFunction21

NdrProxyForwardingFunction22

NdrProxyForwardingFunction23

NdrProxyForwardingFunction24

NdrProxyForwardingFunction25

NdrProxyForwardingFunction26

NdrProxyForwardingFunction27

NdrProxyForwardingFunction28

NdrProxyForwardingFunction29

NdrProxyForwardingFunction3

NdrProxyForwardingFunction30

NdrProxyForwardingFunction31

NdrProxyForwardingFunction32

NdrProxyForwardingFunction4

NdrProxyForwardingFunction5

NdrProxyForwardingFunction6

NdrProxyForwardingFunction7

NdrProxyForwardingFunction8

NdrProxyForwardingFunction9

ObjectStublessClient10

ObjectStublessClient11

ObjectStublessClient12

ObjectStublessClient13

ObjectStublessClient14

ObjectStublessClient15

ObjectStublessClient16

ObjectStublessClient17

ObjectStublessClient18

ObjectStublessClient19

ObjectStublessClient20

ObjectStublessClient21

ObjectStublessClient22

ObjectStublessClient23

ObjectStublessClient24

ObjectStublessClient25

ObjectStublessClient26

ObjectStublessClient27

ObjectStublessClient28

ObjectStublessClient29

ObjectStublessClient3

ObjectStublessClient30

ObjectStublessClient31

ObjectStublessClient32

ObjectStublessClient4

ObjectStublessClient5

ObjectStublessClient6

ObjectStublessClient7

ObjectStublessClient8

ObjectStublessClient9

From api-ms-win-core-datetime-l1-1-1 API Set

GetDateFormatEx

GetTimeFormatEx

From api-ms-win-core-datetime-l1-1-2 API Set

GetDurationFormatEx

From api-ms-win-core-debug-l1-1-1 API Set

IsDebuggerPresent

OutputDebugStringA

OutputDebugStringW

From api-ms-win-core-delayload-l1-1-1 API Set

DelayLoadFailureHook

ResolveDelayLoadedAPI

ResolveDelayLoadsFromDll

From api-ms-win-core-errorhandling-l1-1-1 API Set

GetLastError

RaiseException

SetLastError

From api-ms-win-core-errorhandling-l1-1-3 API Set

RaiseFailFastException

From api-ms-win-core-fibers-l1-1-1 API Set

FlsAlloc

FlsFree

FlsGetValue

FlsSetValue

IsThreadAFiber

From api-ms-win-core-fibers-l2-1-1 API Set

CalloutOnFiberStack

ConvertFiberToThread

ConvertThreadToFiberEx

CreateFiberEx

DeleteFiber

SwitchToFiber

From api-ms-win-core-file-ansi-l2-1-0 API Set

ReplaceFileA

From api-ms-win-core-file-l1-2-1 API Set

CreateDirectoryA

CreateDirectoryW

CreateFile2

DeleteFileA

DeleteFileW

FindClose

FindFirstFileExA

FindFirstFileExW

FindNextFileA

FindNextFileW

FlushFileBuffers

GetDiskFreeSpaceExA

GetDiskFreeSpaceExW

GetFileAttributesExA

GetFileAttributesExW

GetFileSizeEx

GetFileTime

GetFileType

GetFullPathNameW

GetLongPathNameW

GetTempFileNameW

GetTempPathW

LockFileEx

ReadFile

RemoveDirectoryA

RemoveDirectoryW

SetEndOfFile

SetFileAttributesA

SetFileAttributesW

SetFileInformationByHandle

SetFilePointerEx

SetFileTime

UnlockFileEx

WriteFile

From api-ms-win-core-file-l2-1-1 API Set

CopyFile2

GetFileInformationByHandleEx

MoveFileExW

ReplaceFileW

From api-ms-win-core-handle-l1-1-0 API Set

CloseHandle

CompareObjectHandles

DuplicateHandle

From api-ms-win-core-heap-l1-2-0 API Set

GetProcessHeap

HeapAlloc

HeapCompact

HeapCreate

HeapDestroy

HeapFree

HeapReAlloc

HeapSetInformation

HeapSize

From api-ms-win-core-interlocked-l1-2-0 API Set

InitializeSListHead

InterlockedCompareExchange (on x86 only)

InterlockedCompareExchange64 (on x86 only)

InterlockedDecrement (on x86 only)

InterlockedExchange (on x86 only)

InterlockedExchangeAdd (on x86 only)

InterlockedFlushSList

InterlockedIncrement (on x86 only)

InterlockedPopEntrySList

InterlockedPushEntrySList

InterlockedPushListSListEx

QueryDepthSList

From api-ms-win-core-io-l1-1-1 API Set

CancelIoEx

GetOverlappedResultEx

From api-ms-win-core-kernel32-legacy-l1-1-1 API Set

MoveFileExA

From api-ms-win-core-largeinteger-l1-1-0 API Set

MulDiv

From api-ms-win-core-libraryloader-l1-2-0 API Set

DisableThreadLibraryCalls

FindStringOrdinal

FreeLibrary

GetModuleFileNameA

GetModuleFileNameW

GetProcAddress

From api-ms-win-core-libraryloader-l2-1-0 API Set

LoadPackagedLibrary

QueryOptionalDelayLoadedAPI

From api-ms-win-core-localization-ansi-l1-1-0 API Set

GetStringTypeExA

From api-ms-win-core-localization-l1-2-1 API Set

EnumSystemGeoID

EnumSystemLocalesEx

FindNLSStringEx

FormatMessageA

FormatMessageW

GetCalendarInfoEx

GetCPInfo

GetCPInfoExW

GetGeoInfoW

GetLocaleInfoEx

GetNLSVersionEx

GetUserDefaultLocaleName

GetUserGeoID

IdnToAscii

IdnToUnicode

IsValidCodePage

IsValidLocaleName

IsValidNLSVersion

LCMapStringEx

LocaleNameToLCID

ResolveLocaleName

From api-ms-win-core-localization-l1-2-2 API Set

GetSystemDefaultLocaleName

LCIDToLocaleName

From api-ms-win-core-localization-l2-1-0 API Set

EnumCalendarInfoExEx

EnumDateFormatsExEx

EnumSystemCodePagesW

EnumTimeFormatsEx

GetCurrencyFormatEx

GetNumberFormatEx

From api-ms-win-core-memory-l1-1-2 API Set

CreateFileMappingFromApp

DiscardVirtualMemory

FlushViewOfFile

GetWriteWatch

MapViewOfFileFromApp

OfferVirtualMemory

ReclaimVirtualMemory

ResetWriteWatch

UnmapViewOfFile

VirtualFree

VirtualQuery

From api-ms-win-core-memory-l1-1-3 API Set

OpenFileMappingFromApp

VirtualAllocFromApp

VirtualProtectFromApp

From api-ms-win-core-normalization-l1-1-0 API Set

GetStringScripts

IdnToNameprepUnicode

IsNormalizedString

NormalizeString

VerifyScripts

From api-ms-win-core-processenvironment-l1-2-0 API Set

GetCommandLineA

GetCommandLineW

GetCurrentDirectoryW

SetCurrentDirectoryW

From api-ms-win-core-processthreads-l1-1-2 API Set

CreateThread

ExitThread

FlushProcessWriteBuffers

GetCurrentProcess

GetCurrentProcessId

GetCurrentThread

GetCurrentThreadId

GetExitCodeThread

GetThreadContext

GetThreadId

GetThreadPriority

IsProcessorFeaturePresent

OpenProcess

QueueUserAPC

ResumeThread

SetThreadIdealProcessorEx

SetThreadPriority

SuspendThread

SwitchToThread

TerminateProcess

From api-ms-win-core-processthreads-l1-1-3 API Set

GetProcessDefaultCpuSets

GetProcessInformation

GetSystemCpuSetInformation

GetThreadSelectedCpuSets

SetProcessDefaultCpuSets

SetProcessInformation

SetThreadIdealProcessor

SetThreadSelectedCpuSets

From api-ms-win-core-profile-l1-1-0 API Set

QueryPerformanceCounter

QueryPerformanceFrequency

From api-ms-win-core-realtime-l1-1-0 API Set

QueryUnbiasedInterruptTime

From api-ms-win-core-realtime-l1-1-1 API Set

QueryInterruptTime

QueryInterruptTimePrecise

QueryUnbiasedInterruptTimePrecise

From api-ms-win-core-rtlsupport-l1-2-0 API Set

RtlCaptureStackBackTrace

RtlLookupFunctionEntry (not on x86)

RtlPcToFileHeader

RtlUnwind

RtlUnwindEx (not on x86)

From api-ms-win-core-string-l1-1-0 API Set

CompareStringEx

CompareStringOrdinal

GetStringTypeExW

GetStringTypeW

MultiByteToWideChar

WideCharToMultiByte

From api-ms-win-core-synch-ansi-l1-1-0 API Set

CreateSemaphoreA

CreateSemaphoreExA

OpenMutexA

From api-ms-win-core-synch-l1-2-0 API Set

AcquireSRWLockExclusive

AcquireSRWLockShared

CreateEventA

CreateEventExA

CreateEventExW

CreateEventW

CreateMutexA

CreateMutexExA

CreateMutexExW

CreateMutexW

CreateSemaphoreExW

DeleteCriticalSection

EnterCriticalSection

InitializeConditionVariable

InitializeCriticalSection

InitializeCriticalSectionAndSpinCount

InitializeCriticalSectionEx

InitializeSRWLock

InitOnceBeginInitialize

InitOnceComplete

InitOnceExecuteOnce

InitOnceInitialize

LeaveCriticalSection

OpenEventA

OpenEventW

OpenMutexW

OpenSemaphoreW

ReleaseMutex

ReleaseSemaphore

ReleaseSRWLockExclusive

ReleaseSRWLockShared

ResetEvent

SetCriticalSectionSpinCount

SetEvent

Sleep

SleepConditionVariableCS

SleepConditionVariableSRW

SleepEx

TryAcquireSRWLockExclusive

TryAcquireSRWLockShared

TryEnterCriticalSection

WaitForMultipleObjectsEx

WaitForSingleObject

WaitForSingleObjectEx

WaitOnAddress

WakeAllConditionVariable

WakeByAddressAll

WakeByAddressSingle

WakeConditionVariable

From api-ms-win-core-synch-l1-2-1 API Set

CreateSemaphoreW

WaitForMultipleObjects

From api-ms-win-core-sysinfo-l1-2-1 API Set

GetLocalTime

GetNativeSystemInfo

GetSystemInfo

GetSystemTime

GetSystemTimeAsFileTime

GetSystemTimePreciseAsFileTime

GetTickCount64

From api-ms-win-core-sysinfo-l1-2-3 API Set

GetIntegratedDisplaySize

From api-ms-win-core-threadpool-l1-2-0 API Set

CallbackMayRunLong

CancelThreadpoolIo

CloseThreadpool

CloseThreadpoolCleanupGroup

CloseThreadpoolCleanupGroupMembers

CloseThreadpoolIo

CloseThreadpoolTimer

CloseThreadpoolWait

CloseThreadpoolWork

CreateThreadpool

CreateThreadpoolCleanupGroup

CreateThreadpoolIo

CreateThreadpoolTimer

CreateThreadpoolWait

CreateThreadpoolWork

DisassociateCurrentThreadFromCallback

FreeLibraryWhenCallbackReturns

IsThreadpoolTimerSet

LeaveCriticalSectionWhenCallbackReturns

QueryThreadpoolStackInformation

ReleaseMutexWhenCallbackReturns

ReleaseSemaphoreWhenCallbackReturns

SetEventWhenCallbackReturns

SetThreadpoolStackInformation

SetThreadpoolThreadMaximum

SetThreadpoolThreadMinimum

SetThreadpoolTimer

SetThreadpoolTimerEx

SetThreadpoolWait

SetThreadpoolWaitEx

StartThreadpoolIo

SubmitThreadpoolWork

TrySubmitThreadpoolCallback

WaitForThreadpoolIoCallbacks

WaitForThreadpoolTimerCallbacks

WaitForThreadpoolWaitCallbacks

WaitForThreadpoolWorkCallbacks

From api-ms-win-core-timezone-l1-1-0 API Set

EnumDynamicTimeZoneInformation

FileTimeToSystemTime

GetDynamicTimeZoneInformation

GetDynamicTimeZoneInformationEffectiveYears

GetTimeZoneInformation

GetTimeZoneInformationForYear

SystemTimeToFileTime

SystemTimeToTzSpecificLocalTime

SystemTimeToTzSpecificLocalTimeEx

TzSpecificLocalTimeToSystemTime

TzSpecificLocalTimeToSystemTimeEx

From api-ms-win-core-util-l1-1-0 API Set

DecodePointer

EncodePointer

From api-ms-win-core-windowsceip-l1-1-0 API Set

CeipIsOptedIn

From api-ms-win-core-windowserrorreporting-l1-1-0 API Set

WerRegisterFile

WerRegisterMemoryBlock

WerUnregisterFile

WerUnregisterMemoryBlock

From api-ms-win-core-winrt-error-l1-1-1 API Set

GetRestrictedErrorInfo

RoCaptureErrorContext

RoFailFastWithErrorContext

RoGetErrorReportingFlags

RoOriginateError

RoOriginateErrorW

RoOriginateLanguageException

RoReportUnhandledError

RoSetErrorReportingFlags

RoTransformError

RoTransformErrorW

SetRestrictedErrorInfo

From api-ms-win-core-winrt-l1-1-0 API Set

RoActivateInstance

RoGetActivationFactory

RoGetApartmentIdentifier

RoInitialize

RoRegisterActivationFactories

RoRegisterForApartmentShutdown

RoRevokeActivationFactories

RoUninitialize

RoUnregisterForApartmentShutdown

From api-ms-win-core-winrt-registration-l1-1-0 API Set

RoGetActivatableClassRegistration

RoGetServerActivatableClasses

From api-ms-win-core-winrt-robuffer-l1-1-0 API Set

RoGetBufferMarshaler

From api-ms-win-core-winrt-roparameterizediid-l1-1-0 API Set

RoFreeParameterizedTypeExtra

RoGetParameterizedTypeInstanceIID

RoParameterizedTypeExtraGetTypeSignature

From api-ms-win-core-winrt-string-l1-1-0 API Set

HSTRING_UserFree

HSTRING_UserFree64 (on amd64 only)

HSTRING_UserMarshal

HSTRING_UserMarshal64 (on amd64 only)

HSTRING_UserSize

HSTRING_UserSize64 (on amd64 only)

HSTRING_UserUnmarshal

HSTRING_UserUnmarshal64 (on amd64 only)

WindowsCompareStringOrdinal

WindowsConcatString

WindowsCreateString

WindowsCreateStringReference

WindowsDeleteString

WindowsDeleteStringBuffer

WindowsDuplicateString

WindowsGetStringLen

WindowsGetStringRawBuffer

WindowsIsStringEmpty

WindowsPreallocateStringBuffer

WindowsPromoteStringBuffer

WindowsReplaceString

WindowsStringHasEmbeddedNull

WindowsSubstring

WindowsSubstringWithSpecifiedLength

WindowsTrimStringEnd

WindowsTrimStringStart

From api-ms-win-core-xstate-l2-1-0 API Set

GetEnabledXStateFeatures (not on ARM)

GetXStateFeaturesMask (not on ARM)

InitializeContext

LocateXStateFeature (not on ARM)

From api-ms-win-eventing-classicprovider-l1-1-0 API Set

GetTraceEnableFlags

GetTraceEnableLevel

GetTraceLoggerHandle

RegisterTraceGuidsW

TraceMessage

UnregisterTraceGuids

From api-ms-win-eventing-consumer-l1-1-0 API Set

CloseTrace

OpenTraceW

ProcessTrace

From api-ms-win-eventing-controller-l1-1-0 API Set

ControlTraceW

EnableTraceEx2

StartTraceW

StopTraceW

From api-ms-win-eventing-legacy-l1-1-0 API Set

EnableTrace

EnableTraceEx

FlushTraceW

QueryTraceW

From api-ms-win-eventing-provider-l1-1-0 API Set

EventActivityIdControl

EventRegister

EventSetInformation

EventUnregister

EventWrite

EventWriteEx

EventWriteString

EventWriteTransfer

From api-ms-win-gaming-tcui-l1-1-0 API Set

ProcessPendingGameUI

ShowChangeFriendRelationshipUI

ShowGameInviteUI

ShowPlayerPickerUI

ShowProfileCardUI

ShowTitleAchievementsUI

TryCancelPendingGameUI

From api-ms-win-ro-typeresolution-l1-1-0 API Set

RoGetMetaDataFile

RoParseTypeName

RoResolveNamespace

From api-ms-win-security-cryptoapi-l1-1-0 API Set

CryptReleaseContext

From api-ms-win-shcore-stream-winrt-l1-1-0 API Set

CreateRandomAccessStreamOnFile

CreateRandomAccessStreamOverStream

CreateStreamOverRandomAccessStream