共用方式為


IDvdState::GetDiscID

 
Microsoft DirectShow 9.0

IDvdState::GetDiscID

The GetDiscID method retrieves the unique ID of the disc from which the bookmark was made.

Syntax

  HRESULT GetDiscID(
  ULONGLONG *pullUniqueID
);

Parameters

pullUniqueID

[out] Pointer to a variable of type ULONGLONG that receives the ID.

Return Values

Returns one of the values shown in the following table.

Return code Description
S_OK Success
E_POINTER Invalid argument

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also