Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Retrieves the ID for this change unit.
HRESULT GetChangeUnitId(
[in, out] BYTE *pbChangeUnitId,
[in, out] DWORD *pcbIdSize
);
[in, out] pbChangeUnitId
Returns the ID of the change unit.
[in, out] pcbIdSize
Specifies the number of bytes in pbChangeUnitId. Returns the number of bytes required to retrieve the ID if pbChangeUnitId is too small, or returns the number of bytes written.
The possible return codes include, but are not limited to, the values shown in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
|
Invalid pointer. |
|
pbChangeUnitId is too small. In this case, the required number of bytes is returned in pcbIdSize. |
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | winsync.h |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today