Share via


RegisterAPISet (Windows Embedded CE 6.0)

1/6/2010

This function registers an API set.

Syntax

BOOL RegisterAPISet(
  HANDLE hASet,
  DWORD dwSetID
);

Parameters

  • hASet
    [in] Handle to API set created by the CreateAPISet function.
  • dwSetID
    [in] Type of API set. You must perform a bitwise OR operation on this parameter with REGISTER_APISET_TYPE to create a handle-based API set.

Return Value

TRUE indicates success. FALSE indicates failure. Call GetLastError to get extended error information.

Remarks

Before any process can become a handle server, the process must create and register a handle-based API set with CreateAPISet and RegisterAPISet.

Requirements

Header pkfuncs.h
Library coredll.lib
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

Kernel Functions
CreateAPISet

Concepts

Creating, Registering, and Using a Handle-based API Set
New Kernel APIs
Handle Tables: Windows CE 5.0 vs. Windows Embedded CE 6.0