gvStartup

GameSpy SDK

gvStartup

Initializes the SDK.

GVBool gvStartup(
HWND hWnd );
RoutineRequired HeaderDistribution
gvStartup<gv.h>SDKZIP

Return Value

Returns GVTrue if the SDK was able to startup successfully.

Parameters

hWnd
[in] Handle to the application's main window. [Win32 only]

Remarks

Before doing anything else with GV, you must call gvStartup. The function does any necessary internal initialization. It will return GVFalse in case of an error initializing. The HWND passed to the Win32 version is the handle for the application’s main window. This can be NULL if the application does not have a main window.

Section Reference: Gamespy Voice SDK

See Also: gvCleanup