Piezīmes
Lai piekļūtu šai lapai, ir nepieciešama autorizācija. Varat mēģināt pierakstīties vai mainīt direktorijus.
Lai piekļūtu šai lapai, ir nepieciešama autorizācija. Varat mēģināt mainīt direktorijus.
Determines whether this allocator was used to allocate the specified block of memory.
Syntax
int DidAlloc(
[in] void *pv
);
Parameters
[in] pv
A pointer to the block of memory. If this parameter is a NULL pointer, -1 is returned.
Return value
This method can return the following values.
| Return value | Description |
|---|---|
|
The block of memory was allocated by this allocator. |
|
The block of memory was not allocated by this allocator. |
|
This method cannot determine whether this allocator allocated the block of memory. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Target Platform | Windows |
| Header | objidlbase.h (include ObjIdl.h) |