CM QUERYCNRINFO
Appearance
This message returns the container's CNRINFO structure.
Syntax
param1 PCNRINFO pCnrInfo; /* Pointer to a buffer into which the CNRINFO structure is copied. */ param2 USHORT cbBuffer; /* Number of bytes. */
Parameters
- pCnrInfo (PCNRINFO) - Input
- Pointer to a buffer into which the CNRINFO structure is copied.
- cbBuffer (USHORT) - Input
- Maximum number of bytes to copy.
Returns
- cbBytes (USHORT) - returns
- Success indicator.
- 0: Container data was not successfully returned. The WinGetLastError function may return the following error:
- PMERR_INVALID_PARAMETERS.
- Other: Actual number of bytes copied.
- 0: Container data was not successfully returned. The WinGetLastError function may return the following error:
Remarks
The number of bytes specified in the cbBuffer parameter is returned in the buffer addressed by the pCnrInfo parameter.
Default Processing
The default window procedure does not expect to receive this message and therefore takes no action on it other than to return 0.