GetWinRtClassStatics

Retrieves the class statics for a WinRT class.

Syntax

HRESULT GetWinRtClassStatics(
         const WCHAR *className,
         const IID &riid,
         void **ppvObject
)  

Parameters

className
Type: WCHAR *

[in] The name of the class.

riid
Type: IID 

[in] Interface ID of the class.

ppvObject
Type: void **

[out] An object containing the class statics.

Return value

Type: HRESULT 

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Header: Declared in Microsoft.Xbox.Gsdk.Networking.h.

Library: Use Microsoft.Xbox.Gsdk.Networking.lib.