大网数据广告活动
Windows 系统接口

Miscellaneous Low-Level Client Support

· 52CE 我爱测

This topic contains information about low-level APIs that are used by the Windows client infrastructure.

This topic contains information about low-level APIs that are used by the Windows client infrastructure.

Functions

Topic Contents
<a href="/windows/desktop/api/winbase/nf-winbase-_lclose">_lclose</a> The _lclose function closes the specified file so that it is no longer available for reading or writing. This function is provided for compatibility with 16-bit versions of Windows. Win32-based applications should use the CloseHandle function.
<a href="/windows/desktop/api/winbase/nf-winbase-_lopen">_lopen</a> The _lopen function opens an existing file and sets the file pointer to the beginning of the file. This function is provided for compatibility with 16-bit versions of Windows. Win32-based applications should use the CreateFile function.
<a href="/windows/desktop/api/winbase/nf-winbase-_lread">_lread</a> The _lread function reads data from the specified file. This function is provided for compatibility with 16-bit versions of Windows. Win32-based applications should use the ReadFile function.
<a href="/windows/desktop/api/comppkgsup/nf-comppkgsup-aredvdcodecsenabled">AreDvdCodecsEnabled</a> Returns a value indicating whether DVD codecs are enabled on the current device.
<a href="/windows/desktop/api/Winuser/nf-winuser-disableprocesswindowsghosting">DisableProcessWindowsGhosting</a> Disables the window ghosting feature for the calling GUI process. Window ghosting is a Windows Manager feature that lets the user minimize, move, or close the main window of an application that is not responding.
<a href="/windows/desktop/api/comppkgsup/nf-comppkgsup-getmediacomponentpackageinfo">GetMediaComponentPackageInfo</a> Returns a list of properties for all media codecs installed on the system that meet the specified requirements.
<a href="/windows/desktop/api/comppkgsup/nf-comppkgsup-getmediaextensioncommunicationfactory">GetMediaExtensionCommunicationFactory</a> Creates a communication factory for registering a media extension.
<a href="/windows/desktop/api/comppkgsup/nf-comppkgsup-instantiatecomponentfrompackage">InstantiateComponentFromPackage</a> Creates an instance of a class in an application package.
<a href="/windows/desktop/api/comppkgsup/nf-comppkgsup-ismediabehaviorenabled">IsMediaBehaviorEnabled</a> Gets a value indicating whether the media behavior associated with the specified GUID is enabled.
<a href="/windows/desktop/api/Winternl/nf-winternl-ntclose">NtClose</a> Deprecated. This function is used to close the specified handle. <a href="/windows/desktop/api/Winternl/nf-winternl-ntclose">NtClose</a> is superseded by <a href="/windows/desktop/api/handleapi/nf-handleapi-closehandle">CloseHandle</a>.
<a href="/windows/desktop/api/Winternl/nf-winternl-ntdeviceiocontrolfile">NtDeviceIoControlFile</a> Deprecated. Builds descriptors for the supplied buffer(s) and passes the untyped data to the device driver associated with the file handle. <a href="/windows/desktop/api/Winternl/nf-winternl-ntdeviceiocontrolfile">NtDeviceIoControlFile</a> is superseded by <a href="/windows/desktop/api/ioapiset/nf-ioapiset-deviceiocontrol">DeviceIoControl</a>.
<a href="/windows/desktop/api/Winternl/nf-winternl-ntwaitforsingleobject">NtWaitForSingleObject</a> Deprecated. Waits until the specified object attains a state of <code>signaled</code>. <a href="/windows/desktop/api/Winternl/nf-winternl-ntwaitforsingleobject">NtWaitForSingleObject</a> is superseded by <a href="/windows/desktop/api/synchapi/nf-synchapi-waitforsingleobject">WaitForSingleObject</a>.
<a href="/windows/desktop/api/Winternl/nf-winternl-rtlansistringtounicodestring">RtlAnsiStringToUnicodeString</a> Converts the specified ANSI source string into a Unicode string.
<a href="/windows/desktop/api/Winternl/nf-winternl-rtlchartointeger">RtlCharToInteger</a> Converts a character string to an integer.
<a href="/previous-versions//ff899322(v=vs.85)">RtlFormatCurrentUserKeyPath</a> Initializes the supplied buffer with a string representation of the SID for the current user.
<a href="/windows/desktop/api/Winternl/nf-winternl-rtlfreeansistring">RtlFreeAnsiString</a> Frees the string buffer allocated by <a href="/windows/desktop/api/Winternl/nf-winternl-rtlunicodestringtoansistring">RtlUnicodeStringToAnsiString</a>.
<a href="/windows/desktop/api/Winternl/nf-winternl-rtlfreeoemstring">RtlFreeOemString</a> Frees the string buffer allocated by <a href="/windows/desktop/api/Winternl/nf-winternl-rtlunicodestringtooemstring">RtlUnicodeStringToOemString</a>.
<a href="/windows/desktop/api/Winternl/nf-winternl-rtlfreeunicodestring">RtlFreeUnicodeString</a> Frees the string buffer allocated by <a href="/windows/desktop/api/Winternl/nf-winternl-rtlansistringtounicodestring">RtlAnsiStringToUnicodeString</a> or by <a href="https://msdn.microsoft.com/library/ms803011.aspx">RtlUpcaseUnicodeString</a>.
<a href="/windows/desktop/api/Winternl/nf-winternl-rtlinitstring">RtlInitString</a> Initializes a counted string.
<a href="/windows/desktop/api/Winternl/nf-winternl-rtlinitunicodestring">RtlInitUnicodeString</a> Initializes a counted Unicode string.
<a href="/windows/desktop/api/Winternl/nf-winternl-rtlunicodestringtoansistring">RtlUnicodeStringToAnsiString</a> Converts the specified Unicode source string into an ANSI string.
<a href="/windows/desktop/api/Winternl/nf-winternl-rtlunicodestringtooemstring">RtlUnicodeStringToOemString</a> This functions converts the specified Unicode source string into an OEM string. The translation is done with respect to the OEM code page (OCP).
<a href="/windows/desktop/api/Winternl/nf-winternl-rtlunicodetomultibytesize">RtlUnicodeToMultiByteSize</a> Determines how many bytes are needed to represent a Unicode string as an ANSI string.
<a href="/windows/desktop/devnotes/rtlunicodetoutf8n">RtlUnicodeToUTF8N</a> The <a href="/windows/desktop/devnotes/rtlunicodetoutf8n">RtlUnicodeToUTF8N</a> function translates the specified Unicode string into a new character string, using the 8-bit Unicode Transformation Format (UTF-8) code page.
<a href="/windows/desktop/devnotes/rtlutf8tounicoden">RtlUTF8ToUnicodeN</a> The <a href="/windows/desktop/devnotes/rtlutf8tounicoden">RtlUTF8ToUnicodeN</a> function translates the specified source string into a Unicode string, using the UTF-8 code page.
SendIMEMessageEx Specifies an action or processing for the Input Method Editor (IME) through a specified subfunction. Note: This function is obsolete and should not be used.
WINNLSEnableIME Temporarily enables or disables an IME and, at the same time, turns on or off the display of all windows owned by the IME. Note: This function is obsolete and should not be used.

Structures

Topic Contents
IMESTRUCT Used by SendIMEMessageEx to specify the subfunction to be executed in the IME message and its parameters. This structure is also used to receive return values from those subfunctions.
STRING This structure is used with the RtlUnicodeStringToOemString function.

Compiler Routines

Topic Contents
__C_specific_handler Routine __C_specific_handler is a helper routine for the C compiler.
_alldiv Routine _alldiv Routine is a helper routine for the C compiler.
_allmul Multiplies two LONGLONG or ULONGLONG.
_aulldiv Divides two ULONGLONG integers.
_chkstk Routine _chkstk Routine is a helper routine for the C compiler.

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。