Nota
Pristup ovoj stranici zahteva autorizaciju. Možete pokušati da se prijavite ili promenite direktorijume.
Pristup ovoj stranici zahteva autorizaciju. Možete pokušati da promenite direktorijume.
Retrieves the flags for this generic parameter.
Syntax
Parameters
pdwFlags
[out] Returns the flags for this generic parameter.
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Remarks
These flags contain information about various special constraints.
Example
The following example shows how to implement this method for a CDebugGenericParamFieldType object that exposes the IDebugGenericParamField interface.
HRESULT CDebugGenericParamFieldType::GetFlags(DWORD *pdwFlags)
{
HRESULT hr = S_OK;
METHOD_ENTRY( CDebugGenericParamFieldType::GetFlags );
IfFalseGo( pdwFlags, E_INVALIDARG );
IfFailGo( this->LoadProps() );
*pdwFlags = m_dwFlags;
Error:
METHOD_EXIT( CDebugGenericParamFieldType::GetFlags, hr );
return hr;
}