This function reads OS password data.
BOOL ReadGenericData( WORD dwId, DWORD dwIndex, DWORD dwFlags, LPBYTE pBuf, DWORD dwLength, DWORD pdwBytesReturned );
Type of data to be read. Currently, only OEM_DATATYPE_PASSWORD is supported.
Byte offset to the data.
Not supported. Set to zero.
Data to be read.
Length of data to be read.
Pointer to the number of bytes to be read.
TRUE indicates success. FALSE indicates failure.