Partager via


PDD_SetPowerState (Windows Embedded CE 6.0)

1/6/2010

Set driver power state.

This method is called when IOCTL_POWER_SET is received by the MDD layer.

Syntax

DWORD PDD_SetPowerState( 
LPVOID PDDContext, 
CEDEVICE_POWER_STATE PowerState 
);

Parameters

  • LPVOID PDDContext
    [in]

    This is the return value of PDD_Init.

Return Value

PDD specific. ERROR_SUCCESS represents success. Any other value will be treated as error

Requirements

Header Developer Implemented
Library Developer Implemented
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Other Resources

Camera PDD Methods