IDatabase::SetUserData method

Allows the caller to set a block of user defined data. Can be retrieved by calling GetUserData.

Syntax

void SetUserData(
  [in] LPVOID pvUserData,
  [in] ULONG  cbUserData
);

Parameters

pvUserData [in]

Type: LPVOID

Specifies the memory location to read the user data from. Should be allocated to at least the size specified by cbUserData.

cbUserData [in]

Type: ULONG

Specifies the size of pvUserData.

Return value

This method does not return a value.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Product
Outlook Express 6.0
IDL
Directdb.idl
DLL
Directdb.dll (version 6.0 or later)