int GetInstanceData(hInstance,pData,nCount)
This function copies data from a previous instance of an application into the data area of the current instance. The hInstance parameter specifies which instance to copy data from, pData specifies where to copy the data, and nCount specifies the number of bytes to copy.
Parameter | Type/Description | |
hInstance | HANDLE Identifies a previous call of the application. | |
pData | NPSTR Points to a buffer in the current instance. | |
nCount | int Specifies the number of bytes to copy. |
The return value specifies the number of bytes actually copied.