RegisterDirectMethods (Compact 2013)

3/28/2014

This function is used by kernel-mode servers to register a second internal method table. The functions in this method table correspond to the functions in the external method table, but are called only by in-process API calls through kcoredll.dll. Therefore, calls to the internal functions come only from other kernel-mode servers.

Syntax

BOOL RegisterDirectMethods (
    HANDLE hApiSet,
    const PFNVOID *ppfnDirectMethod
);

Parameters

  • hApiSet
    [in] Handle to an API set created by CreateAPISet.
  • ppfnDirectMethod
    [in] Pointer to a table of function pointers This is the same type as the ppfnMethods parameter of CreateAPISet.

Return Value

TRUE indicates success. FALSE indicates failure. There is no last error set for this function.

Remarks

Useable by kernel-mode servers only.

Requirements

Header

mkfuncs.h

See Also

Reference

Kernel Functions