Export (0) Print
Expand All
Expand Minimize

LinkWindow_RegisterClass function

[This function is available through Windows XP with Service Pack 2 (SP2) and Windows Server 2003. It might be altered or unavailable in subsequent versions of Windows. Use InitCommonControlsEx instead.]

Registers a window class that allows for the SysLink common control to be used in a window.

Syntax


BOOL LinkWindow_RegisterClass(void);

Parameters

This function has no parameters.

Return value

Type: BOOL

Returns TRUE if registration was successful; FALSE otherwise.

Remarks

This function does not have an associated header or library file so it must be called by ordinal value. Call LoadLibrary with the DLL name Shell32.dll to obtain a module handle. Then call GetProcAddress with that module handle and the ordinal number 258 to use this function.

Use LinkWindow_UnregisterClass to unregister the class after use.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

DLL

Shell32.dll (version 5.0 or later)

See also

Overview of SysLink Controls

 

 

Community Additions

ADD
Show:
© 2014 Microsoft