Partager via


CeDriverMapCallbackFunction (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

User Mode Driver Framework Functions

Other Resources

User Mode Driver Framework