This function is used to write OS password data.
BOOL WriteGenericData( WORD dwId, DWORD dwIndex, DWORD dwFlags, LPBYTE pBuf, DWORD dwLength, );
Type of data to be written. Currently, only OEM_DATATYPE_PASSWORD is supported.
Byte offset to write the data.
Unsupported. Set to zero.
Data to be written.
Length of data to be written.
TRUE indicates success. FALSE indicates failure.