Share via


RegisterAPISet (Compact 2013)

3/28/2014

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

See Also

Reference

Kernel Functions
CreateAPISet