Share via


CeDriverMapCallbackFunction (Compact 2013)

3/26/2014

This function maps a notification callback to a handle, which can be use as a handle based API.

Syntax

HANDLE CeDriverMapCallbackFunction(
  LPNOTIFY_CALLBACK_ROUTINE lpCallback
);

Parameters

  • lpCallback
    [in]Specifies a pointer to a callback function.

Return Value

Returns a validated handle on success. Returns zero on failure. For extended error information, call GetLastError.

Remarks

The DDK creates an API set on its own static routine. The user callback address passed in by this API is associated with the new handle.

Requirements

Header

ceddk.h

Library

CEDDK.lib

See Also

Reference

User Mode Driver Framework Functions

Other Resources

User Mode Driver Framework