Share via


PFN_UIENTRYPOINT (Windows Embedded CE 6.0)

1/6/2010

This function is the user interface (UI) proxy device driver entry point.

Syntax

typedef BOOL (*PFN_UIENTRYPOINT)(
  LPVOID lpInBuffer,
  DWORD nInBufferSize,
  LPVOID lpOutBuffer,
  DWORD nOutBufferSize,
  PDWORD pBytesReturned
);

Parameters

  • lpInBuffer
    [in] Data to pass to the UI proxy device driver.
  • nInBufferSize
    [in] Size of the data passed to the UI proxy device driver.
  • lpOutBuffer
    [out] Data returned by the UI proxy device driver.
  • nOutBufferSize
    [out] Size of the data returned by the UI proxy device driver.
  • pBytesReturned
    [out] Size in bytes of the data returned by the UI proxy device driver.

Return Value

TRUE indicates success. The output data is copied to lpOutBuffer, and pBytesReturned contains the number of bytes written to the lpOutBuffer, which is less than or equal to nOutBufferSize.

FALSE indicates failure. In this case, the state of lpOutBuffer and pBytesReturned is undefined.

Requirements

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

See Also

Reference

Kernel Functions
CeCallUserProc

Concepts

New Kernel APIs
Displaying a User Interface from a Kernel-Mode Device Driver