Jump to content

PrfQueryProgramHandle

From EDM2
Revision as of 05:07, 17 November 2023 by Martini (talk | contribs) (Created page with "This function is used to obtain a handle for the requested executable file. ==Syntax== PrfQueryProgramHandle (HINI hini, PCSZ pszExe, PHPROGARRAY phprogArray, ULONG cchBuff...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This function is used to obtain a handle for the requested executable file.

Syntax

PrfQueryProgramHandle (HINI hini, PCSZ pszExe, PHPROGARRAY phprogArray, ULONG cchBufferMax, PULONG pulCount); 

Parameters

HINI
The initialization file handle
PSZ
Pointer to the executable file name string
PHPROGARRAY
Pointer to array to receive program handles
ULONG
The size of handles array
PULONG
The address at which to store the handles returned count

Returns

Returns a program handle (ULONG).