Compartilhar via


OALIoCtlHalGetRegSecureKeys (Windows CE 5.0)

Send Feedback

This function implements a common IOCTL_HAL_GETREGSECUREKEYS handler.

OALIoCtlHalGetRegSecureKeys enables the OEM to extend the list of registry paths that should be protected from nontrusted applications.

BOOL OALIoCtlHalGetRegSecureKeys(  UINT32 dwIoControlCode,  VOID* lpInBuf,  UINT32 nInBufSize,  VOID* lpOutBuf,  UINT32 lpOutBufSize,  UINT32* lpBytesReturned);

Parameters

  • dwIoControlCode
    [in] Set to IOCTL_HAL_GETREGSECUREKEYS.

  • lpInBuf
    [in]Set to NULL.

  • nInBufSize
    [in] Set to zero.

  • lpOutBuf
    [out] Pointer to a buffer that stores either a RegSecureKeyList structure provided by the OEM or a DWORD.

  • lpOutBufSize
    [in] Size of the lpOutBuf parameter.

    If the size specified by lpOutBufSize is equal to sizeof(DWORD), Filesys.exe is requesting the amount of memory it needs to allocate to store the data to be returned by the OEM. Set the DWORD pointed to by lpOutBuf to the number of bytes that must be allocated by Filesys.exe to retrieve the data.

    If the DWORD pointer specified in lpOutBuf is set to zero, no further action is taken by Filesys.exe.

  • lpBytesReturned
    [in] Pointer to UINT32 that stores the number of bytes written to the lpBuffer.

Return Values

TRUE indicates success.

FALSE indicates failure.

Remarks

Requirements

OS Versions: Windows CE Version 5.0 and later
Header: Oal_ioctl.h
Link Library: Developer-defined

See Also

IOCTL Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.