Chapter 1:
Overview
 

This document describes the API functions that are available in the PGSDK Library. Each API function is described in this format:

Syntax:

// Shows the syntax of the function
// Example:

MEMHDL
_SDK_AllocHandle (
     MEMSIZE size,
     char FAR * pFileName,
     int lineNo

);

Input:

Defines the input parameters that are required to call the function.

Return:

Defines return values (if any).

Notes:

Identifies any special information or considerations for using the function.

Example:

// Shows how function is used in a code sample
// Example:
// From Samp11.c
// THE NEXT CALL IS A LOCAL PROC
// THAT CALLS THE PG ROUTINES FOR
// HOOKING UP A LOCAL DATA SOURCE TO
// THE PG LIBRARY
InitDataCallBacks(hInst, gpGraph);
// PG - ALLOCATE DRAW ENVIRONMENT
if ( !(gpDrawEnv = AllocDrawEnvPtr(
     hwnd, DE_PORT_NORMAL)) )
     return FALSE;

Also See:

Lists other related functions.

 

Please refer to the PGSDK Programmer's Manual if you need additional information about how to set-up and use the PGSDK.