![[Toc]](../../toc.gif)
![[Index]](/idx.gif)
GHI_CMD_USERCAPS - Syntax
Description:
GHI_CMD_USERCAPS is used to enable and support the CAPABILITIES button on
the OS/2 System Object.
When the Video Configuration Manager presents the interface to the user,
each capability is presented in a separate window page of the capabilities
notebook in System Object. The window layout depends on the capability
type:
Boolean type is represented by a check box.
Aggregate type is represented by a list box.
The capability description appears as the title for that control.
If a GRADD is going to support capabilities in multiple languages, it
must get the capability description (szCapsDesc) and capability aggregate
strings, if applicable, from a resource module that contains
already-translated strings.
#include <GRADD.h>
GID gid; /* ID of the GRADD. */
ULONG ulFunc; /* Set equal to GHI_CMD_USERCAPS. */
PUSERCAPSIN pIn; /* Pointer to a USERCAPSIN data structure. */
PVOID pOut; /* Pointer to a buffer area. */
ULONG rc; /* Return codes. */
rc = HWENTRY(gid, ulFunc, pIn, pOut);
Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs