Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
To perform this operation, call the DeviceIoControl function using the following parameters.
BOOL DeviceIoControl(
(HANDLE) hDevice, // handle to file
FSCTL_REFS_VOLUME_ATTESTATION_BIND_TO_TPM, // dwIoControlCode
NULL, // lpInBuffer
0, // nInBufferSize
NULL, // lpOutBuffer
0, // nOutBufferSize
(LPDWORD) lpBytesReturned, // number of bytes returned
(LPOVERLAPPED) lpOverlapped // OVERLAPPED structure
);
Input buffer
lpInBuffer
Input buffer length
lpInBufferSize
Output buffer
lpOutBuffer
Output buffer length
lpOutBufferSize
Requirements
| Requirement | Value |
|---|---|
| Header | winioctl.h |